Adds a skill to a user.
Bulk Create
This endpoint supports bulk creating up to 200 objects. In the request body, set the top-level key to its plural form and place the objects in an array. Example:
{
"skill_memberships": [
{
"skill_id": 123,
"user_id": 111
},
{
"skill_id": 456,
"user_id": 222
}
]
}This endpoint returns structured Skill Membership objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the skill_memberships top-level JSON key. Please see our Response Format section for more information.
Any of the below associations can be included in your request by providing the include param, e.g. include=association1,association2.
creator(User) - References the user who has created the skill association.skill(Skill) - References the skill assigned to the object.user(User) - References the user who has been assigned the skill.
- https://api.mavenlink.com/api/v1https://api.mavenlink.com/api/v1/skill_memberships
{ "skill_membership": { "skill_id": 0, "user_id": 0, "level": 0 } }
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "skill_memberships": { "property1": { "cached_skill_name": "string", "created_at": "2019-08-24T14:15:22Z", "creator_id": "string", "level": 0, "max_level": 0, "skill_id": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string" }, "property2": { "cached_skill_name": "string", "created_at": "2019-08-24T14:15:22Z", "creator_id": "string", "level": 0, "max_level": 0, "skill_id": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string" } }, "skills": { "property1": { "created_at": "2019-08-24T14:15:22Z", "description": "string", "external_reference_ids": [ "string" ], "max_level": "string", "name": "string", "skill_category_id": "string", "updated_at": "2019-08-24T14:15:22Z" }, "property2": { "created_at": "2019-08-24T14:15:22Z", "description": "string", "external_reference_ids": [ "string" ], "max_level": "string", "name": "string", "skill_category_id": "string", "updated_at": "2019-08-24T14:15:22Z" } }, "users": { "property1": { "abbreviated_timezone": "string", "account_membership_id": "string", "bio": "string", "city": "string", "classification": "string", "country": "string", "custom_field_value_ids": [ "string" ], "email_address": "string", "external_reference_ids": [ "string" ], "full_name": "string", "headline": "string", "last_site_activity": "2019-08-24T14:15:22Z", "manager_id": "string", "photo_path": "string", "role_id": "string", "skill_ids": [ "string" ], "skill_membership_ids": [ "string" ], "state": "string", "website": "string", "work_sample_ids": [ "string" ] }, "property2": { "abbreviated_timezone": "string", "account_membership_id": "string", "bio": "string", "city": "string", "classification": "string", "country": "string", "custom_field_value_ids": [ "string" ], "email_address": "string", "external_reference_ids": [ "string" ], "full_name": "string", "headline": "string", "last_site_activity": "2019-08-24T14:15:22Z", "manager_id": "string", "photo_path": "string", "role_id": "string", "skill_ids": [ "string" ], "skill_membership_ids": [ "string" ], "state": "string", "website": "string", "work_sample_ids": [ "string" ] } } }